﻿using System.Data.Entity;
using IntoLog;
using IntoStationSystem.Entity;

namespace IntoStationSystem.Db
{
    public class ProductionQueryContext : DbContext
    {
        public ProductionQueryContext() : base("ProductionConnection") { }
        public virtual DbSet<ProduceData> Production { get; set; }
        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            Database.SetInitializer<ProductionQueryContext>(null);
        }
    }
}
